package com.joysuch.wwyt.workflow.bean;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author ZhangDong
 * @Date 2020/11/18 17:58
 */
@Data
public class WorkFlowPrintTemplateBean {

    @ApiModelProperty("流程id")
    @NotNull(message = "processId cannot be null")
    private Long processId;
    @ApiModelProperty("模板数据")
    @NotEmpty(message = "模板数据不能为空")
    private String printTemplate;
}
